<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@page import="avicit.platform6.core.locale.PlatformLocalesJSTL"%>
<%@page import="java.util.Locale"%>
<%@page import="avicit.platform6.api.session.SessionHelper"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.Map"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<%@ taglib prefix="sec" uri="/WEB-INF/tags/shiro.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新增条件</title>
<base href="<%=ViewUtil.getRequestPath(request)%>">
<%@page import="avicit.platform6.api.sysshirolog.impl.AfterLoginSessionProcess"%>
<% 
Object lang=session.getAttribute(AfterLoginSessionProcess.SESSION_CURRENT_LANGUAGE_CODE);
String languageCode="zh_CN";
if(lang!=null){
	languageCode=lang.toString();
}
	Locale locale =SessionHelper.getLocaleByUser(request);
%>
<jsp:include page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
<script type="text/javascript" src="avicit/im/lantop/userauthset/DelQualification.js"></script>
<jsp:include page="/avicit/platform6/modules/system/commonpopup/commonSelectionHead.jsp"></jsp:include>
<jsp:include page="/avicit/im/common/ImUIJSCSSInclude.jsp"></jsp:include>
<script type="text/javascript" src="avicit/im/lantop/userauthset/locale/language_<%=languageCode%>.js"></script>
<script type="text/javascript">
	dialogId = "${dialogId}";
	targetType = "${targetType}";
	targetId = "${targetId}";
	nodeId = "${nodeId}";
	nodeName = "${nodeName}";
	table = "${table}";
	ysf = "${ysf}";
	ljgx = "${ljgx}";
	authTypeListStr = "${authTypeListStr}";
	authServiceId = "${authServiceId}";
</script>
</head>
<body class="easyui-layout">
    <div data-options="region:'center',split:false" style="width:auto;">
    	<!-- 删除条件设置 begin -->
    	<%-- 删除条件 --%>
    	<div class="easyui-panel" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.deleteCondition.deleteCondition","i18n.lantop",locale)%>"     
		        style="width:auto;height:auto;padding:0px;background:#fafafa;"   
		        data-options="collapsed:true,closable:false, collapsible:false"> 
 		</div>
 		<form id="formCbbFondsDb" method="post">
			<table style="padding-top: 10px; margin: 0 auto; width: 100%;">
				<tr>
					<%-- 数据表 --%>
					<th align="right"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.deleteCondition.dataTable","i18n.lantop",locale)%>：</th>
					<td><input id="dataTable" name="dataTable"
						class="easyui-combobox"
						data-options="valueField: 'id',textField: 'text',data:${table},editable:false"
						style="width: 200px;" /></td>
					<%-- 权限类型 --%>
					<th align="right"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.deleteCondition.limitType","i18n.lantop",locale)%>：</th>
					<td><input id="authType" name="authType"
						class="easyui-combobox"
						data-options="valueField: 'id',textField: 'text',data:${authTypeListStr},editable:false"
						style="width: 200px;" /></td>
				</tr>
			</table>
		</form>
		<!-- 新增条件设置 end -->
    	<hr/>
		<!-- 条件设置 begin -->
		<form id="formQualification" method="post">
			<table style="padding-top: 10px; margin: 0 auto; width: 100%;">
				<tr>
					<%-- 开始日期 --%>
					<th align="right"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.deleteCondition.startDate","i18n.lantop",locale)%>：</th>
					<td><input id="startDate" name="startDate" type="text"
						class="easyui-datebox" style="width: 200px;" editable="false"></input>
					</td>
					<%-- 结束日期 --%>
					<th align="right"><span class=""></span><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.deleteCondition.endDate","i18n.lantop",locale)%>：</th>
					<td><input id="endDate" name="endDate" type="text"
						class="easyui-datebox" style="width: 200px;" editable="false"></input>
					</td>
				</tr>
			</table>
			<table border="1px #ooo" id="test" name="test" class="test"
				cellpadding="0" cellspacing="0" style="border: 0px; width: 90%;">
			</table>
		</form>
		<!-- 条件设置 end -->
	</div>
	<div data-options="region:'south',border:false" style="height:40px;">
    	<div id="toolbar" class="datagrid-toolbar datagrid-toolbar-extend foot-formopera">
            <table class="tableForm" border="0" cellspacing="1" width="100%">
                <tr>
                    <td align="right">
				    		<sec:accesscontrollist hasPermission="3" domainObject="userauthset_DelQualification_button_delQualification">
				    			<%-- 删除 --%>
				    			<a id="saveButton" class="easyui-linkbutton primary-btn" onclick="delQualification();" href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.deleteCondition.button.delete","i18n.lantop",locale)%></a>
				    		</sec:accesscontrollist>
				    		<sec:accesscontrollist hasPermission="3" domainObject="userauthset_DelQualification_button_closeWindow">
				    			<%-- 返回 --%>
				    			<a id="backButton" class="easyui-linkbutton" onclick="closeWindow();" href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.userauthset.userauthset.button.deleteCondition.button.return","i18n.lantop",locale)%></a>
				    		</sec:accesscontrollist>
                    </td>
                </tr>
            </table>
        </div>
	</div>
</body>
</html>
